<ion-header>
    <ion-navbar>
        <button ion-button menuToggle>
            <ion-icon name="menu"></ion-icon>
        </button>
        <ion-title i18n>
            登录
        </ion-title>
    </ion-navbar>
</ion-header>

<ion-content padding>

    <ion-list padding>
        <ion-item>
            <ion-label floating>用户名/手机号/邮箱</ion-label>
            <ion-input type="text" [(ngModel)]="username"></ion-input>
        </ion-item>

        <ion-item>
            <ion-label floating>密码</ion-label>
            <ion-input type="password" [(ngModel)]="password"></ion-input>
        </ion-item>

        <button ion-button block padding (click)="onLoginClicked()">登录</button>
    </ion-list>
</ion-content>
